<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/commons/jsp/taglibs.jsp"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="keywords" content="">
<meta http-equiv="Cache-Control" content="max-age=86400 public">
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<script type="text/javascript" src="${ctx }/web/js/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="${ctx }/web/js/1.js"></script>
    <script type="text/javascript" src="${ctx }/web/js/2.js"></script>
    <script type="text/javascript" src="${ctx }/web/js/lubotu.js"></script>
    <link href="${ctx }/web/css/style.css" rel="Stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="${ctx }/web/css/basic.css"/>
    <style type="text/css">
    	#compareTable{
    		width:100%;
    		border-collapse: collapse;
    		border:none;
    		background: #ffffff;
    	}
    	
    	#compareTable td{
    		border: 1px #dddddd solid;
    		text-align: center;
    		padding: 6px 0px;
    	}
    </style>
</head>
<body>
<div class="clearfix">
<div class="banbo clearfix">
    <div class="test" >
        <%@ include file="/web/web-top.jsp"%>
        <div class="mainbg">
        <div class="clearfix" style="margin-top: 10px">
            <table id="compareTable">
            	<tr>
            		<td style="width:160px">商品名称</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				<img src="${ctx}/file_resource${compareGoodsFileMap[goods.id]}" style="width:height:108px;height:108px;" />
            				<div>${goods.goodsName}</div>
            			</td>
            		</c:forEach>
            	</tr>
            	<tr>
            		<td style="width:160px">商品品牌</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				${goods.goodsBrand}
            			</td>
            		</c:forEach>
            	</tr>
            	<tr>
            		<td style="width:160px">商品规格</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				${goods.goodsStandard}
            			</td>
            		</c:forEach>
            	</tr>
            	<tr>
            		<td style="width:160px">商品型号</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				${goods.goodsNum}
            			</td>
            		</c:forEach>
            	</tr>
            	<tr>
            		<td style="width:160px">商品单价(元)</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				${goods.sellPrice}
            			</td>
            		</c:forEach>
            	</tr>
            	<tr>
            		<td style="width:160px">商品库存</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				${goods.goodsStorage}
            			</td>
            		</c:forEach>
            	</tr>
            	<tr>
            		<td style="width:160px">商品描述</td>
            		<c:forEach items="${goodsCompareList}" var="goods">
            			<td width="300px;">
            				${goods.goodsRemark}
            			</td>
            		</c:forEach>
            	</tr>
            </table>
        </div>
        <%@ include file="/web/web-buttom.jsp"%>
        </div>
    </div>
</div>
</div>
</body>
<script>

</script>
</html>
